home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Programming / perlman / man / perldiag.txt < prev    next >
Encoding:
Text File  |  1999-09-09  |  92.9 KB  |  2,307 lines

  1. NAME
  2.        perldiag - various Perl diagnostics
  3.  
  4. DESCRIPTION
  5.        These messages are classified as follows (listed in
  6.        increasing order of desperation):
  7.  
  8.            (W) A warning (optional).
  9.            (D) A deprecation (optional).
  10.            (S) A severe warning (mandatory).
  11.            (F) A fatal error (trappable).
  12.            (P) An internal error you should never see (trappable).
  13.            (X) A very fatal error (non-trappable).
  14.            (A) An alien error message (not generated by Perl).
  15.  
  16.        Optional warnings are enabled by using the -w switch.
  17.        Warnings may be captured by setting $^Q to a reference to
  18.        a routine that will be called on each warning instead of
  19.        printing it.  See the perlvar manpage.  Trappable errors
  20.        may be trapped using the eval operator.  See the eval
  21.        entry in the perlfunc manpage.
  22.  
  23.        Some of these messages are generic.  Spots that vary are
  24.        denoted with a %s, just as in a printf format.  Note that
  25.        some message start with a %s!  The symbols "%-?@ sort
  26.        before the letters, while [ and \ sort after.
  27.  
  28.        "my" variable %s can't be in a package
  29.            (F) Lexically scoped variables aren't in a package, so
  30.            it doesn't make sense to try to declare one with a
  31.            package qualifier on the front.  Use local() if you
  32.            want to localize a package variable.
  33.  
  34.        "no" not allowed in expression
  35.            (F) The "no" keyword is recognized and executed at
  36.            compile time, and returns no useful value.  See the
  37.            perlmod manpage.
  38.  
  39.        "use" not allowed in expression
  40.            (F) The "use" keyword is recognized and executed at
  41.            compile time, and returns no useful value.  See the
  42.            perlmod manpage.
  43.  
  44.        % may only be used in unpack
  45.            (F) You can't pack a string by supplying a checksum,
  46.            since the checksumming process loses information, and
  47.            you can't go the other way.  See the unpack entry in
  48.            the perlfunc manpage.
  49.  
  50.        %s (...) interpreted as function
  51.            (W) You've run afoul of the rule that says that any
  52.            list operator followed by parentheses turns into a
  53.            function, with all the list operators arguments found
  54.            inside the parens.  See the section on Terms and List
  55.            Operators (Leftward) in the perlop manpage.
  56.  
  57.        %s argument is not a HASH element
  58.            (F) The argument to delete() or exists() must be a
  59.            hash element, such as
  60.  
  61.                $foo{$bar}
  62.                $ref->[12]->{"susie"}
  63.  
  64.        %s did not return a true value
  65.            (F) A required (or used) file must return a true value
  66.            to indicate that it compiled correctly and ran its
  67.            initialization code correctly.  It's traditional to
  68.            end such a file with a "1;", though any true value
  69.            would do.  See the require entry in the perlfunc
  70.            manpage.
  71.  
  72.        %s found where operator expected
  73.            (S) The Perl lexer knows whether to expect a term or
  74.            an operator.  If it sees what it knows to be a term
  75.            when it was expecting to see an operator, it gives you
  76.            this warning.  Usually it indicates that an operator
  77.            or delimiter was omitted, such as a semicolon.
  78.  
  79.        %s had compilation errors.
  80.            (F) The final summary message when a perl -c fails.
  81.  
  82.        %s has too many errors.
  83.            (F) The parser has given up trying to parse the
  84.            program after 10 errors.  Further error messages would
  85.            likely be uninformative.
  86.  
  87.        %s matches null string many times
  88.            (W) The pattern you've specified would be an infinite
  89.            loop if the regular expression engine didn't
  90.            specifically check for that.  See the perlre manpage.
  91.  
  92.        %s never introduced
  93.            (S) The symbol in question was declared but somehow
  94.            went out of scope before it could possibly have been
  95.            used.
  96.  
  97.        %s syntax OK
  98.            (F) The final summary message when a perl -c succeeds.
  99.  
  100.        %s: Command not found.
  101.            (A) You've accidentally run your script through csh
  102.            instead of Perl.  Check the <#!> line, or manually
  103.            feed your script into Perl yourself.
  104.  
  105.        %s: Expression syntax.
  106.            (A) You've accidentally run your script through csh
  107.            instead of Perl.  Check the <#!> line, or manually
  108.            feed your script into Perl yourself.
  109.  
  110.        %s: Undefined variable.
  111.            (A) You've accidentally run your script through csh
  112.            instead of Perl.  Check the <#!> line, or manually
  113.            feed your script into Perl yourself.
  114.  
  115.        %s: not found
  116.            (A) You've accidentally run your script through the
  117.            Bourne shell instead of Perl.  Check the <#!> line, or
  118.            manually feed your script into Perl yourself.
  119.  
  120.        -P not allowed for setuid/setgid script
  121.            (F) The script would have to be opened by the C
  122.            preprocessor by name, which provides a race condition
  123.            that breaks security.
  124.  
  125.        -T and -B not implemented on filehandles
  126.            (F) Perl can't peek at the stdio buffer of filehandles
  127.            when it doesn't know about your kind of stdio.  You'll
  128.            have to use a filename instead.
  129.  
  130.        500 Server error
  131.            See Server error.
  132.  
  133.        ?+* follows nothing in regexp
  134.            (F) You started a regular expression with a
  135.            quantifier.  Backslash it if you meant it literally.
  136.            See the perlre manpage.
  137.  
  138.        @ outside of string
  139.            (F) You had a pack template that specified an
  140.            absolution position outside the string being unpacked.
  141.            See the pack entry in the perlfunc manpage.
  142.  
  143.        accept() on closed fd
  144.            (W) You tried to do an accept on a closed socket.  Did
  145.            you forget to check the return value of your socket()
  146.            call?  See the accept entry in the perlfunc manpage.
  147.  
  148.        Allocation too large: %lx
  149.            (F) You can't allocate more than 64K on an MSDOS
  150.            machine.
  151.  
  152.        Arg too short for msgsnd
  153.            (F) msgsnd() requires a string at least as long as
  154.            sizeof(long).
  155.  
  156.        Ambiguous use of %s resolved as %s
  157.            (W)(S) You said something that may not be interpreted
  158.            the way you thought.  Normally it's pretty easy to
  159.            disambiguate it by supplying a missing quote,
  160.            operator, paren pair or declaration.
  161.  
  162.        Args must match #! line
  163.            (F) The setuid emulator requires that the arguments
  164.            Perl was invoked with match the arguments specified on
  165.            the #! line.
  166.  
  167.        Argument "%s" isn't numeric
  168.            (W) The indicated string was fed as an argument to an
  169.            operator that expected a numeric value instead.  If
  170.            you're fortunate the message will identify which
  171.            operator was so unfortunate.
  172.  
  173.        Array @%s missing the @ in argument %d of %s()
  174.            (D) Really old Perl let you omit the @ on array names
  175.            in some spots.  This is now heavily deprecated.
  176.  
  177.        assertion botched: %s
  178.            (P) The malloc package that comes with Perl had an
  179.            internal failure.
  180.  
  181.        Assertion failed: file "%s"
  182.            (P) A general assertion failed.  The file in question
  183.            must be examined.
  184.  
  185.        Assignment to both a list and a scalar
  186.            (F) If you assign to a conditional operator, the 2nd
  187.            and 3rd arguments must either both be scalars or both
  188.            be lists.  Otherwise Perl won't know which context to
  189.            supply to the right side.
  190.  
  191.        Attempt to free non-arena SV: 0x%lx
  192.            (P) All SV objects are supposed to be allocated from
  193.            arenas that will be garbage collected on exit.  An SV
  194.            was discovered to be outside any of those arenas.
  195.  
  196.        Attempt to free temp prematurely
  197.            (W) Mortalized values are supposed to be freed by the
  198.            free_tmps() routine.  This indicates that something
  199.            else is freeing the SV before the free_tmps() routine
  200.            gets a chance, which means that the free_tmps()
  201.            routine will be freeing an unreferenced scalar when it
  202.            does try to free it.
  203.  
  204.        Attempt to free unreferenced glob pointers
  205.            (P) The reference counts got screwed up on symbol
  206.            aliases.
  207.  
  208.        Attempt to free unreferenced scalar
  209.            (W) Perl went to decrement the reference count of a
  210.            scalar to see if it would go to 0, and discovered that
  211.            it had already gone to 0 earlier, and should have been
  212.            freed, and in fact, probably was freed.  This could
  213.            indicate that SvREFCNT_dec() was called too many
  214.            times, or that SvREFCNT_inc() was called too few
  215.            times, or that the SV was mortalized when it shouldn't
  216.            have been, or that memory has been corrupted.
  217.  
  218.        Bad arg length for %s, is %d, should be %d
  219.            (F) You passed a buffer of the wrong size to one of
  220.            msgctl(), semctl() or shmctl().  In C parlance, the
  221.            correct sized are, respectively,
  222.            sizeof(struct msqid_ds *), sizeof(struct semid_ds *)
  223.            and sizeof(struct shmid_ds *).
  224.  
  225.        Bad associative array
  226.            (P) One of the internal hash routines was passed a
  227.            null HV pointer.
  228.  
  229.        Bad filehandle: %s
  230.            (F) A symbol was passed to something wanting a
  231.            filehandle, but the symbol has no filehandle
  232.            associated with it.  Perhaps you didn't do an open(),
  233.            or did it in another package.
  234.  
  235.        Bad free() ignored
  236.            (S) An internal routine called free() on something
  237.            that had never been malloc()ed in the first place.
  238.  
  239.        Bad name after %s::
  240.            (F) You started to name a symbol by using a package
  241.            prefix, and then didn't finish the symbol.  In
  242.            particular, you can't interpolate outside of quotes,
  243.            so
  244.  
  245.                $var = 'myvar';
  246.                $sym = mypack::$var;
  247.  
  248.            is not the same as
  249.  
  250.                $var = 'myvar';
  251.                $sym = "mypack::$var";
  252.  
  253.        Bad symbol for array
  254.            (P) An internal request asked to add an array entry to
  255.            something that wasn't a symbol table entry.
  256.  
  257.        Bad symbol for filehandle
  258.            (P) An internal request asked to add a filehandle
  259.            entry to something that wasn't a symbol table entry.
  260.  
  261.        Bad symbol for hash
  262.            (P) An internal request asked to add a hash entry to
  263.            something that wasn't a symbol table entry.
  264.  
  265.        Badly places ()'s
  266.            (A) You've accidentally run your script through csh
  267.            instead of Perl.  Check the <#!> line, or manually
  268.            feed your script into Perl yourself.
  269.        BEGIN failed--compilation aborted
  270.            (F) An untrapped exception was raised while executing
  271.            a BEGIN subroutine.  Compilation stops immediately and
  272.            the interpreter is exited.
  273.  
  274.        bind() on closed fd
  275.            (W) You tried to do a bind on a closed socket.  Did
  276.            you forget to check the return value of your socket()
  277.            call?  See the bind entry in the perlfunc manpage.
  278.  
  279.        Bizarre copy of %s in %s
  280.            (P) Perl detected an attempt to copy an internal value
  281.            that is not copiable.
  282.  
  283.        Callback called exit
  284.            (F) A subroutine invoked from an external package via
  285.            perl_call_sv() exited by calling exit.
  286.  
  287.        Can't "last" outside a block
  288.            (F) A "last" statement was executed to break out of
  289.            the current block, except that there's this itty bitty
  290.            problem called there isn't a current block.  Note that
  291.            an "if" or "else" block doesn't count as a "loopish"
  292.            block.  You can usually double the curlies to get the
  293.            same effect though, since the inner curlies will be
  294.            considered a block that loops once.  See the last
  295.            entry in the perlfunc manpage.
  296.  
  297.        Can't "next" outside a block
  298.            (F) A "next" statement was executed to reiterate the
  299.            current block, but there isn't a current block.  Note
  300.            that an "if" or "else" block doesn't count as a
  301.            "loopish" block.  You can usually double the curlies
  302.            to get the same effect though, since the inner curlies
  303.            will be considered a block that loops once.  See the
  304.            last entry in the perlfunc manpage.
  305.  
  306.        Can't "redo" outside a block
  307.            (F) A "redo" statement was executed to restart the
  308.            current block, but there isn't a current block.  Note
  309.            that an "if" or "else" block doesn't count as a
  310.            "loopish" block.  You can usually double the curlies
  311.            to get the same effect though, since the inner curlies
  312.            will be considered a block that loops once.  See the
  313.            last entry in the perlfunc manpage.
  314.  
  315.        Can't bless non-reference value
  316.            (F) Only hard references may be blessed.  This is how
  317.            Perl "enforces" encapsulation of objects.  See the
  318.            perlobj manpage.
  319.  
  320.        Can't break at that line
  321.            (S) A warning intended for while running within the
  322.            debugger, indicating the line number specified wasn't
  323.            the location of a statement that could be stopped at.
  324.  
  325.        Can't call method "%s" in empty package "%s"
  326.            (F) You called a method correctly, and it correctly
  327.            indicated a package functioning as a class, but that
  328.            package doesn't have ANYTHING defined in it, let alone
  329.            methods.  See the perlobj manpage.
  330.  
  331.        Can't call method "%s" on unblessed reference
  332.            (F) A method call must know what package it's supposed
  333.            to run in.  It ordinarily finds this out from the
  334.            object reference you supply, but you didn't supply an
  335.            object reference in this case.  A reference isn't an
  336.            object reference until it has been blessed.  See the
  337.            perlobj manpage.
  338.  
  339.        Can't call method "%s" without a package or object
  340.            reference
  341.            (F) You used the syntax of a method call, but the slot
  342.            filled by the object reference or package name
  343.            contains an expression that returns neither an object
  344.            reference nor a package name.  (Perhaps it's null?)
  345.            Something like this will reproduce the error:
  346.  
  347.                $BADREF = undef;
  348.                process $BADREF 1,2,3;
  349.                $BADREF->process(1,2,3);
  350.  
  351.        Can't chdir to %s
  352.            (F) You called perl -x/foo/bar, but /foo/bar is not a
  353.            directory that you can chdir to, possibly because it
  354.            doesn't exist.
  355.  
  356.        Can't coerce %s to integer in %s
  357.            (F) Certain types of SVs, in particular real symbol
  358.            table entries (type GLOB), can't be forced to stop
  359.            being what they are.  So you can't say things like:
  360.  
  361.                *foo += 1;
  362.  
  363.            You CAN say
  364.  
  365.                $foo = *foo;
  366.                $foo += 1;
  367.  
  368.            but then $foo no longer contains a glob.
  369.  
  370.        Can't coerce %s to number in %s
  371.            (F) Certain types of SVs, in particular real symbol
  372.            table entries (type GLOB), can't be forced to stop
  373.            being what they are.
  374.  
  375.        Can't coerce %s to string in %s
  376.            (F) Certain types of SVs, in particular real symbol
  377.            table entries (type GLOB), can't be forced to stop
  378.            being what they are.
  379.  
  380.        Can't create pipe mailbox
  381.            (P) An error peculiar to VMS.  The process is
  382.            suffering from exhausted quotas or other plumbing
  383.            problems.
  384.  
  385.        Can't declare %s in my
  386.            (F) Only scalar, array and hash variables may be
  387.            declared as lexical variables.  They must have
  388.            ordinary identifiers as names.
  389.  
  390.        Can't do inplace edit on %s: %s
  391.            (S) The creation of the new file failed for the
  392.            indicated reason.
  393.  
  394.        Can't do inplace edit without backup
  395.            (F) You're on a system such as MSDOS that gets
  396.            confused if you try reading from a deleted (but still
  397.            opened) file.  You have to say -i.bak, or some such.
  398.  
  399.        Can't do inplace edit: %s > 14 characters
  400.            (S) There isn't enough room in the filename to make a
  401.            backup name for the file.
  402.  
  403.        Can't do inplace edit: %s is not a regular file
  404.            (S) You tried to use the -i switch on a special file,
  405.            such as a file in /dev, or a FIFO.  The file was
  406.            ignored.
  407.  
  408.        Can't do setegid!
  409.            (P) The setegid() call failed for some reason in the
  410.            setuid emulator of suidperl.
  411.  
  412.        Can't do seteuid!
  413.            (P) The setuid emulator of suidperl failed for some
  414.            reason.
  415.  
  416.        Can't do setuid
  417.            (F) This typically means that ordinary perl tried to
  418.            exec suidperl to do setuid emulation, but couldn't
  419.            exec it.  It looks for a name of the form sperl5.000
  420.            in the same directory that the perl executable resides
  421.            under the name perl5.000, typically /usr/local/bin on
  422.            Unix machines.  If the file is there, check the
  423.            execute permissions.  If it isn't, ask your sysadmin
  424.            why he and/or she removed it.
  425.  
  426.        Can't do waitpid with flags
  427.            (F) This machine doesn't have either waitpid() or
  428.            wait4(), so only waitpid() without flags is emulated.
  429.        Can't do {n,m} with n > m
  430.            (F) Minima must be less than or equal to maxima.  If
  431.            you really want your regexp to match something 0
  432.            times, just put {0}.  See the perlre manpage.
  433.  
  434.        Can't emulate -%s on #! line
  435.            (F) The #! line specifies a switch that doesn't make
  436.            sense at this point.  For example, it'd be kind of
  437.            silly to put a -x on the #! line.
  438.  
  439.        Can't exec "%s": %s
  440.            (W) An system(), exec() or piped open call could not
  441.            execute the named program for the indicated reason.
  442.            Typical reasons include: the permissions were wrong on
  443.            the file, the file wasn't found in $ENV{PATH}, the
  444.            executable in question was compiled for another
  445.            architecture, or the #! line in a script points to an
  446.            interpreter that can't be run for similar reasons.
  447.            (Or maybe your system doesn't support #! at all.)
  448.  
  449.        Can't exec %s
  450.            (F) Perl was trying to execute the indicated program
  451.            for you because that's what the #! line said.  If
  452.            that's not what you wanted, you may need to mention
  453.            "perl" on the #! line somewhere.
  454.  
  455.        Can't execute %s
  456.            (F) You used the -S switch, but the script to execute
  457.            could not be found in the PATH, or at least not with
  458.            the correct permissions.
  459.  
  460.        Can't find label %s
  461.            (F) You said to goto a label that isn't mentioned
  462.            anywhere that it's possible for us to go to.  See the
  463.            goto entry in the perlfunc manpage.
  464.  
  465.        Can't find string terminator %s anywhere before EOF
  466.            (F) Perl strings can stretch over multiple lines.
  467.            This message means that the closing delimiter was
  468.            omitted.  Since bracketed quotes count nesting levels,
  469.            the following is missing its final parenthesis:
  470.  
  471.                print q(The character '(' starts a side comment.)
  472.  
  473.        Can't fork
  474.            (F) A fatal error occurred while trying to fork while
  475.            opening a pipeline.
  476.  
  477.        Can't get filespec - stale stat buffer?
  478.            (S) A warning peculiar to VMS.  This arises because of
  479.            the difference between access checks under VMS and
  480.            under the Unix model Perl assumes.  Under VMS, access
  481.            checks are done by filename, rather than by bits in
  482.            the stat buffer, so that ACLs and other protections
  483.            can be taken into account.  Unfortunately, Perl
  484.            assumes that the stat buffer contains all the
  485.            necessary information, and passes it, instead of the
  486.            filespec, to the access checking routine.  It will try
  487.            to retrieve the filespec using the device name and FID
  488.            present in the stat buffer, but this works only if you
  489.            haven't made a subsequent call to the CRTL stat()
  490.            routine, since the device name is overwritten with
  491.            each call.  If this warning appears, the name lookup
  492.            failed, and the access checking routine gave up and
  493.            returned FALSE, just to be conservative.  (Note: The
  494.            access checking routine knows about the Perl stat
  495.            operator and file tests, so you shouldn't ever see
  496.            this warning in response to a Perl command; it arises
  497.            only if some internal code takes stat buffers
  498.            lightly.)
  499.  
  500.        Can't get pipe mailbox device name
  501.            (P) An error peculiar to VMS.  After creating a
  502.            mailbox to act as a pipe, Perl can't retrieve its name
  503.            for later use.
  504.  
  505.        Can't get SYSGEN parameter value for MAXBUF
  506.            (P) An error peculiar to VMS.  Perl asked $GETSYI how
  507.            big you want your mailbox buffers to be, and didn't
  508.            get an answer.
  509.  
  510.        Can't goto subroutine outside a subroutine
  511.            (F) The deeply magical "goto subroutine" call can only
  512.            replace one subroutine call for another.  It can't
  513.            manufacture one out of whole cloth.  In general you
  514.            should only be calling it out of an AUTOLOAD routine
  515.            anyway.  See the goto entry in the perlfunc manpage.
  516.  
  517.        Can't localize a reference
  518.            (F) You said something like local $$ref, which is not
  519.            allowed because the compiler can't determine whether
  520.            $ref will end up pointing to anything with a symbol
  521.            table entry, and a symbol table entry is necessary to
  522.            do a local.
  523.  
  524.        Can't localize lexical variable %s
  525.            (F) You used local on a variable name that was
  526.            previous declared as a lexical variable using "my".
  527.            This is not allowed.  If you want to localize a
  528.            package variable of the same name, qualify it with the
  529.            package name.
  530.  
  531.        Can't locate %s in @INC
  532.            (F) You said to do (or require, or use) a file that
  533.            couldn't be found in any of the libraries mentioned in
  534.            @INC.  Perhaps you need to set the PERL5LIB
  535.            environment variable to say where the extra library
  536.            is, or maybe the script needs to add the library name
  537.            to @INC.  Or maybe you just misspelled the name of the
  538.            file.  See the require entry in the perlfunc manpage.
  539.  
  540.        Can't locate object method "%s" via package "%s"
  541.            (F) You called a method correctly, and it correctly
  542.            indicated a package functioning as a class, but that
  543.            package doesn't define that particular method, nor
  544.            does any of it's base classes.  See the perlobj
  545.            manpage.
  546.  
  547.        Can't locate package %s for @%s::ISA
  548.            (W) The @ISA array contained the name of another
  549.            package that doesn't seem to exist.
  550.  
  551.        Can't mktemp()
  552.            (F) The mktemp() routine failed for some reason while
  553.            trying to process a -e switch.  Maybe your /tmp
  554.            partition is full, or clobbered.
  555.  
  556.        Can't modify %s in %s
  557.            (F) You aren't allowed to assign to the item
  558.            indicated, or otherwise try to change it, such as with
  559.            an autoincrement.
  560.  
  561.        Can't modify non-existent substring
  562.            (P) The internal routine that does assignment to a
  563.            substr() was handed a NULL.
  564.  
  565.        Can't msgrcv to readonly var
  566.            (F) The target of a msgrcv must be modifiable in order
  567.            to be used as a receive buffer.
  568.  
  569.        Can't open %s: %s
  570.            (S) An inplace edit couldn't open the original file
  571.            for the indicated reason.  Usually this is because you
  572.            don't have read permission for the file.
  573.  
  574.        Can't open bidirectional pipe
  575.            (W) You tried to say open(CMD, "|cmd|"), which is not
  576.            supported.  You can try any of several modules in the
  577.            Perl library to do this, such as "open2.pl".
  578.            Alternately, direct the pipe's output to a file using
  579.            ">", and then read it in under a different file
  580.            handle.
  581.  
  582.        Can't open error file %s as stderr
  583.            (F) An error peculiar to VMS.  Perl does its own
  584.            command line redirection, and couldn't open the file
  585.            specified after '2>' or '2>>' on the command line for
  586.            writing.
  587.  
  588.        Can't open input file %s as stdin
  589.            (F) An error peculiar to VMS.  Perl does its own
  590.            command line redirection, and couldn't open the file
  591.            specified after '<' on the command line for reading.
  592.  
  593.        Can't open output file %s as stdout
  594.            (F) An error peculiar to VMS.  Perl does its own
  595.            command line redirection, and couldn't open the file
  596.            specified after '>' or '>>' on the command line for
  597.            writing.
  598.  
  599.        Can't open output pipe (name: %s)
  600.            (P) An error peculiar to VMS.  Perl does its own
  601.            command line redirection, and couldn't open the pipe
  602.            into which to send data destined for stdout.
  603.  
  604.        Can't open perl script "%s": %s
  605.            (F) The script you specified can't be opened for the
  606.            indicated reason.
  607.  
  608.        Can't rename %s to %s: %s, skipping file
  609.            (S) The rename done by the -i switch failed for some
  610.            reason, probably because you don't have write
  611.            permission to the directory.
  612.  
  613.        Can't reopen input pipe (name: %s) in binary mode
  614.            (P) An error peculiar to VMS.  Perl thought stdin was
  615.            a pipe, and tried to reopen it to accept binary data.
  616.            Alas, it failed.
  617.  
  618.        Can't reswap uid and euid
  619.            (P) The setreuid() call failed for some reason in the
  620.            setuid emulator of suidperl.
  621.  
  622.        Can't return outside a subroutine
  623.            (F) The return statement was executed in mainline
  624.            code, that is, where there was no subroutine call to
  625.            return out of.  See the perlsub manpage.
  626.  
  627.        Can't stat script "%s"
  628.            (P) For some reason you can't fstat() the script even
  629.            though you have it open already.  Bizarre.
  630.  
  631.        Can't swap uid and euid
  632.            (P) The setreuid() call failed for some reason in the
  633.            setuid emulator of suidperl.
  634.  
  635.        Can't take log of %g
  636.            (F) Logarithms are only defined on positive real
  637.            numbers.
  638.  
  639.        Can't take sqrt of %g
  640.            (F) For ordinary real numbers, you can't take the
  641.            square root of a negative number.  There's a Complex
  642.            package available for Perl, though, if you really want
  643.            to do that.
  644.        Can't undef active subroutine
  645.            (F) You can't undefine a routine that's currently
  646.            running.  You can, however, redefine it while it's
  647.            running, and you can even undef the redefined
  648.            subroutine while the old routine is running.  Go
  649.            figure.
  650.  
  651.        Can't unshift
  652.            (F) You tried to unshift an "unreal" array that can't
  653.            be unshifted, such as the main Perl stack.
  654.  
  655.        Can't upgrade that kind of scalar
  656.            (P) The internal sv_upgrade routine adds "members" to
  657.            an SV, making it into a more specialized kind of SV.
  658.            The top several SV types are so specialized, however,
  659.            that they cannot be interconverted.  This message
  660.            indicates that such a conversion was attempted.
  661.  
  662.        Can't upgrade to undef
  663.            (P) The undefined SV is the bottom of the totem pole,
  664.            in the scheme of upgradability.  Upgrading to undef
  665.            indicates an error in the code calling sv_upgrade.
  666.  
  667.        Can't use "my %s" in sort comparison
  668.            (F) The global variables $a and $b are reserved for
  669.            sort comparisons.  You mentioned $a or $b in the same
  670.            line as the <=> or cmp operator, and the variable had
  671.            earlier been declared as a lexical variable.  Either
  672.            qualify the sort variable with the package name, or
  673.            rename the lexical variable.
  674.  
  675.        Can't use %s for loop variable
  676.            (F) Only a simple scalar variable may be used as a
  677.            loop variable on a foreach.
  678.  
  679.        Can't use %s ref as %s ref
  680.            (F) You've mixed up your reference types.  You have to
  681.            dereference a reference of the type needed.  You can
  682.            use the ref() function to test the type of the
  683.            reference, if need be.
  684.  
  685.        Can't use \1 to mean $1 in expression
  686.            (W) In an ordinary expression, backslash is a unary
  687.            operator that creates a reference to its argument.
  688.            The use of backslash to indicate a backreference to a
  689.            matched substring is only valid as part of a regular
  690.            expression pattern.  Trying to do this in ordinary
  691.            Perl code produces a value that prints out looking
  692.            like SCALAR(0xdecaf).  Use the $1 form instead.
  693.  
  694.        Can't use string ("%s") as %s ref while "strict refs" in
  695.            use
  696.            (F) Only hard references are allowed by "strict refs".
  697.            Symbolic references are disallowed.  See the perlref
  698.            manpage.
  699.  
  700.        Can't use an undefined value as %s reference
  701.            (F) A value used as either a hard reference or a
  702.            symbolic reference must be a defined value.  This
  703.            helps to de-lurk some insidious errors.
  704.  
  705.        Can't use delimiter brackets within expression
  706.            (F) The ${name} construct is for disambiguating
  707.            identifiers in strings, not in ordinary code.
  708.  
  709.        Can't use global %s in "my"
  710.            (F) You tried to declare a magical variable as a
  711.            lexical variable.  This is not allowed, because the
  712.            magic can only be tied to one location (namely the
  713.            global variable) and it would be incredibly confusing
  714.            to have variables in your program that looked like
  715.            magical variables but weren't.
  716.  
  717.        Can't use subscript on %s
  718.            (F) The compiler tried to interpret a bracketed
  719.            expression as a subscript.  But to the left of the
  720.            brackets was an expression that didn't look like an
  721.            array reference, or anything else subscriptable.
  722.  
  723.        Can't write to temp file for -e: %s
  724.            (F) The write routine failed for some reason while
  725.            trying to process a -e switch.  Maybe your /tmp
  726.            partition is full, or clobbered.
  727.  
  728.        Can't x= to readonly value
  729.            (F) You tried to repeat a constant value (often the
  730.            undefined value) with an assignment operator, which
  731.            implies modifying the value itself.  Perhaps you need
  732.            to copy the value to a temporary, and repeat that.
  733.  
  734.        Cannot open temporary file
  735.            (F) The create routine failed for some reaon while
  736.            trying to process a -e switch.  Maybe your /tmp
  737.            partition is full, or clobbered.
  738.  
  739.        chmod: mode argument is missing initial 0
  740.            (W) A novice will sometimes say
  741.  
  742.                chmod 777, $filename
  743.  
  744.            not realizing that 777 will be interpreted as a
  745.            decimal number, equivalent to 01411.  Octal constants
  746.            are introduced with a leading 0 in Perl, as in C.
  747.  
  748.        Close on unopened file <%s>
  749.            (W) You tried to close a filehandle that was never
  750.            opened.
  751.  
  752.        connect() on closed fd
  753.            (W) You tried to do a connect on a closed socket.  Did
  754.            you forget to check the return value of your socket()
  755.            call?  See the connect entry in the perlfunc manpage.
  756.  
  757.        Corrupt malloc ptr 0x%lx at 0x%lx
  758.            (P) The malloc package that comes with Perl had an
  759.            internal failure.
  760.  
  761.        corrupted regexp pointers
  762.            (P) The regular expression engine got confused by what
  763.            the regular expression compiler gave it.
  764.  
  765.        corrupted regexp program
  766.            (P) The regular expression engine got passed a regexp
  767.            program without a valid magic number.
  768.  
  769.        Deep recursion on subroutine "%s"
  770.            (W) This subroutine has called itself (directly or
  771.            indirectly) 100 times than it has returned.  This
  772.            probably indicates an infinite recursion, unless
  773.            you're writing strange benchmark programs, in which
  774.            case it indicates something else.
  775.  
  776.        Did you mean &%s instead?
  777.            (W) You probably referred to an imported subroutine
  778.            &FOO as $FOO or some such.
  779.  
  780.        Did you mean $ or @ instead of %?
  781.            (W) You probably said %hash{$key} when you meant
  782.            $hash{$key} or @hash{@keys}.  On the other hand, maybe
  783.            you just meant %hash and got carried away.
  784.  
  785.        Do you need to predeclare %s?
  786.            (S) This is an educated guess made in conjunction with
  787.            the message "%s found where operator expected".  It
  788.            often means a subroutine or module name is being
  789.            referenced that hasn't been declared yet.  This may be
  790.            because of ordering problems in your file, or because
  791.            of a missing "sub", "package", "require", or "use"
  792.            statement.  If you're referencing something that isn't
  793.            defined yet, you don't actually have to define the
  794.            subroutine or package before the current location.
  795.            You can use an empty "sub foo;" or "package FOO;" to
  796.            enter a "forward" declaration.
  797.  
  798.        Don't know how to handle magic of type '%s'
  799.            (P) The internal handling of magical variables has
  800.            been cursed.
  801.  
  802.        do_study: out of memory
  803.            (P) This should have been caught by safemalloc()
  804.            instead.
  805.  
  806.        Duplicate free() ignored
  807.            (S) An internal routine called free() on something
  808.            that had already been freed.
  809.  
  810.        elseif should be elsif
  811.            (S) There is no keyword "elseif" in Perl because Larry
  812.            thinks it's ugly.  Your code will be interpreted as an
  813.            attempt to call a method named "elseif" for the class
  814.            returned by the following block.  This is unlikely to
  815.            be what you want.
  816.  
  817.        END failed--cleanup aborted
  818.            (F) An untrapped exception was raised while executing
  819.            an END subroutine.  The interpreter is immediately
  820.            exited.
  821.  
  822.        Error converting file specification %s
  823.            (F) An error peculiar to VMS.  Since Perl may have to
  824.            deal with file specifications in either VMS or Unix
  825.            syntax, it converts them to a single form when it must
  826.            operate on them directly.  Either you've passed an
  827.            invalid file specification to Perl, or you've found a
  828.            case the conversion routines don't handle.  Drat.
  829.  
  830.        Execution of %s aborted due to compilation errors.
  831.            (F) The final summary message when a Perl compilation
  832.            fails.
  833.  
  834.        Exiting eval via %s
  835.            (W) You are exiting an eval by unconventional means,
  836.            such as a a goto, or a loop control statement.
  837.  
  838.        Exiting subroutine via %s
  839.            (W) You are exiting a subroutine by unconventional
  840.            means, such as a a goto, or a loop control statement.
  841.  
  842.        Exiting substitution via %s
  843.            (W) You are exiting a substitution by unconventional
  844.            means, such as a a return, a goto, or a loop control
  845.            statement.
  846.  
  847.        Fatal VMS error at %s, line %d
  848.            (P) An error peculiar to VMS.  Something untoward
  849.            happened in a VMS system service or RTL routine;
  850.            Perl's exit status should provide more details.  The
  851.            filename in "at %s" and the line number in "line %d"
  852.            tell you which section of the Perl source code is
  853.            distressed.
  854.  
  855.        fcntl is not implemented
  856.            (F) Your machine apparently doesn't implement fcntl().
  857.            What is this, a PDP-11 or something?
  858.  
  859.        Filehandle %s never opened
  860.            (W) An I/O operation was attempted on a filehandle
  861.            that was never initialized.  You need to do an open()
  862.            or a socket() call, or call a constructor from the
  863.            FileHandle package.
  864.  
  865.        Filehandle %s opened only for input
  866.            (W) You tried to write on a read-only filehandle.  If
  867.            you intended it to be a read-write filehandle, you
  868.            needed to open it with "+<" or "+>" or "+>>" instead
  869.            of with "<" or nothing.  If you only intended to write
  870.            the file, use ">" or ">>".  See the open entry in the
  871.            perlfunc manpage.
  872.  
  873.        Filehandle only opened for input
  874.            (W) You tried to write on a read-only filehandle.  If
  875.            you intended it to be a read-write filehandle, you
  876.            needed to open it with "+<" or "+>" or "+>>" instead
  877.            of with "<" or nothing.  If you only intended to write
  878.            the file, use ">" or ">>".  See the open entry in the
  879.            perlfunc manpage.
  880.  
  881.        Final $ should be \$ or $name
  882.            (F) You must now decide whether the final $ in a
  883.            string was meant to be a literal dollar sign, or was
  884.            meant to introduce a variable name that happens to be
  885.            missing.  So you have to put either the backslash or
  886.            the name.
  887.  
  888.        Final @ should be \@ or @name
  889.            (F) You must now decide whether the final @ in a
  890.            string was meant to be a literal "at" sign, or was
  891.            meant to introduce a variable name that happens to be
  892.            missing.  So you have to put either the backslash or
  893.            the name.
  894.  
  895.        Format %s redefined
  896.            (W) You redefined a format.  To suppress this warning,
  897.            say
  898.  
  899.                {
  900.                    local $^W = 0;
  901.                    eval "format NAME =...";
  902.                }
  903.  
  904.        Format not terminated
  905.            (F) A format must be terminated by a line with a
  906.            solitary dot.  Perl got to the end of your file
  907.            without finding such a line.
  908.  
  909.        Found = in conditional, should be ==
  910.            (W) You said
  911.  
  912.                if ($foo = 123)
  913.  
  914.            when you meant
  915.  
  916.                if ($foo == 123)
  917.  
  918.            (or something like that).
  919.  
  920.        gdbm store returned %d, errno %d, key "%s"
  921.            (S) A warning from the GDBM_File extension that a
  922.            store failed.
  923.  
  924.        gethostent not implemented
  925.            (F) Your C library apparently doesn't implement
  926.            gethostent(), probably because if it did, it'd feel
  927.            morally obligated to return every hostname on the
  928.            Internet.
  929.  
  930.        get{sock,peer}name() on closed fd
  931.            (W) You tried to get a socket or peer socket name on a
  932.            closed socket.  Did you forget to check the return
  933.            value of your socket() call?
  934.  
  935.        getpwnam returned invalid UIC %#o for user "%s"
  936.            (S) A warning peculiar to VMS.  The call to sys$getuai
  937.            underlying the getpwnam operator returned an invalid
  938.            UIC.
  939.  
  940.        Glob not terminated
  941.            (F) The lexer saw a left angle bracket in a place
  942.            where it was expecting a term, so it's looking for the
  943.            corresponding right angle bracket, and not finding it.
  944.            Chances are you left some needed parentheses out
  945.            earlier in the line, and you really meant a "less
  946.            than".
  947.  
  948.        Global symbol "%s" requires explicit package name
  949.            (F) You've said "use strict vars", which indicates
  950.            that all variables must either be lexically scoped
  951.            (using "my"), or explicitly qualified to say which
  952.            package the global variable is in (using "::").
  953.  
  954.        goto must have label
  955.            (F) Unlike with "next" or "last", you're not allowed
  956.            to goto an unspecified destination.  See the goto
  957.            entry in the perlfunc manpage.
  958.  
  959.        Had to create %s unexpectedly
  960.            (S) A routine asked for a symbol from a symbol table
  961.            that ought to have existed already, but for some
  962.            reason it didn't, and had to be created on an
  963.            emergency basis to prevent a core dump.
  964.  
  965.        Hash %%s missing the % in argument %d of %s()
  966.            (D) Really old Perl let you omit the % on hash names
  967.            in some spots.  This is now heavily deprecated.
  968.  
  969.        Identifier "%s::%s" used only once: possible typo
  970.            (W) Typographical errors often show up as unique
  971.            identifiers.  If you had a good reason for having a
  972.            unique identifier, then just mention it again somehow
  973.            to suppress the message.
  974.  
  975.        Illegal division by zero
  976.            (F) You tried to divide a number by 0.  Either
  977.            something was wrong in your logic, or you need to put
  978.            a conditional in to guard against meaningless input.
  979.  
  980.        Illegal modulus zero
  981.            (F) You tried to divide a number by 0 to get the
  982.            remainder.  Most numbers don't take to this kindly.
  983.  
  984.        Illegal octal digit
  985.            (F) You used an 8 or 9 in a octal number.
  986.  
  987.        Illegal octal digit ignored
  988.            (W) You may have tried to use an 8 or 9 in a octal
  989.            number.  Interpretation of the octal number stopped
  990.            before the 8 or 9.
  991.  
  992.        Insecure dependency in %s
  993.            (F) You tried to do something that the tainting
  994.            mechanism didn't like.  The tainting mechanism is
  995.            turned on when you're running setuid or setgid, or
  996.            when you specify -T to turn it on explicitly.  The
  997.            tainting mechanism labels all data that's derived
  998.            directly or indirectly from the user, who is
  999.            considered to be unworthy of your trust.  If any such
  1000.            data is used in a "dangerous" operation, you get this
  1001.            error.  See the perlsec manpage for more information.
  1002.  
  1003.        Insecure directory in %s
  1004.            (F) You can't use system(), exec(), or a piped open in
  1005.            a setuid or setgid script if $ENV{PATH} contains a
  1006.            directory that is writable by the world.  See the
  1007.            perlsec manpage.
  1008.  
  1009.        Insecure PATH
  1010.            (F) You can't use system(), exec(), or a piped open in
  1011.            a setuid or setgid script if $ENV{PATH} is derived
  1012.            from data supplied (or potentially supplied) by the
  1013.            user.  The script must set the path to a known value,
  1014.            using trustworthy data.  See the perlsec manpage.
  1015.  
  1016.        Internal inconsistency in tracking vforks
  1017.            (S) A warning peculiar to VMS.  Perl keeps track of
  1018.            the number of times you've called fork and exec, in
  1019.            order to determine whether the current call to exec
  1020.            should be affect the current script or a subprocess
  1021.            (see the exec entry in the perlvms manpage).  Somehow,
  1022.            this count has become scrambled, so Perl is making a
  1023.            guess and treating this exec as a request to terminate
  1024.            the Perl script and execute the specified command.
  1025.  
  1026.        internal disaster in regexp
  1027.            (P) Something went badly wrong in the regular
  1028.            expression parser.
  1029.  
  1030.        internal urp in regexp at /%s/
  1031.            (P) Something went badly awry in the regular
  1032.            expression parser.
  1033.  
  1034.        invalid [] range in regexp
  1035.            (F) The range specified in a character class had a
  1036.            minimum character greater than the maximum character.
  1037.            See the perlre manpage.
  1038.  
  1039.        ioctl is not implemented
  1040.            (F) Your machine apparently doesn't implement ioctl(),
  1041.            which is pretty strange for a machine that supports C.
  1042.  
  1043.        junk on end of regexp
  1044.            (P) The regular expression parser is confused.
  1045.  
  1046.        Label not found for "last %s"
  1047.            (F) You named a loop to break out of, but you're not
  1048.            currently in a loop of that name, not even if you
  1049.            count where you were called from.  See the last entry
  1050.            in the perlfunc manpage.
  1051.  
  1052.        Label not found for "next %s"
  1053.            (F) You named a loop to continue, but you're not
  1054.            currently in a loop of that name, not even if you
  1055.            count where you were called from.  See the last entry
  1056.            in the perlfunc manpage.
  1057.  
  1058.        Label not found for "redo %s"
  1059.            (F) You named a loop to restart, but you're not
  1060.            currently in a loop of that name, not even if you
  1061.            count where you were called from.  See the last entry
  1062.            in the perlfunc manpage.
  1063.  
  1064.        listen() on closed fd
  1065.            (W) You tried to do a listen on a closed socket.  Did
  1066.            you forget to check the return value of your socket()
  1067.            call?  See the listen entry in the perlfunc manpage.
  1068.  
  1069.        Literal @%s now requires backslash
  1070.            (F) It used to be that Perl would try to guess whether
  1071.            you wanted an array interpolated or a literal @.  It
  1072.            did this when the string was first used at runtime.
  1073.            Now strings are parsed at compile time, and ambiguous
  1074.            instances of @ must be disambiguated, either by
  1075.            putting a backslash to indicate a literal, or by
  1076.            declaring (or using) the array within the program
  1077.            before the string (lexically).  (Someday it will
  1078.            simply assume that an unbackslashed @ interpolates an
  1079.            array.)
  1080.  
  1081.        Method for operation %s not found in package %s during
  1082.            blessing
  1083.            (F) An attempt was made to specify an entry in an
  1084.            overloading table that doesn't somehow point to a
  1085.            valid method.  See the perlovl manpage.
  1086.  
  1087.        Might be a runaway multi-line %s string starting on line
  1088.            %d
  1089.            (S) An advisory indicating that the previous error may
  1090.            have been caused by a missing delimiter on a string or
  1091.            pattern, because it eventually ended earlier on the
  1092.            current line.
  1093.  
  1094.        Misplaced _ in number
  1095.            (W) An underline in a decimal constant wasn't on a
  1096.            3-digit boundary.
  1097.  
  1098.        Missing $ on loop variable
  1099.            (F) Apparently you've been programming in csh too
  1100.            much.  Variables are always mentioned with the $ in
  1101.            Perl, unlike in the shells, where it can vary from one
  1102.            line to the next.
  1103.  
  1104.        Missing comma after first argument to %s function
  1105.            (F) While certain functions allow you to specify a
  1106.            filehandle or an "indirect object" before the argument
  1107.            list, this ain't one of them.
  1108.  
  1109.        Missing operator before %s?
  1110.            (S) This is an educated guess made in conjunction with
  1111.            the message "%s found where operator expected".  Often
  1112.            the missing operator is a comma.
  1113.  
  1114.        Missing right bracket
  1115.            (F) The lexer counted more opening curly brackets
  1116.            (braces) than closing ones.  As a general rule, you'll
  1117.            find it's missing near the place you were last
  1118.            editing.
  1119.  
  1120.        Missing semicolon on previous line?
  1121.            (S) This is an educated guess made in conjunction with
  1122.            the message "%s found where operator expected".  Don't
  1123.            automatically put a semicolon on the previous line
  1124.            just because you saw this message.
  1125.  
  1126.        Modification of a read-only value attempted
  1127.            (F) You tried, directly or indirectly, to change the
  1128.            value of a constant.  You didn't, of course, try "2 =
  1129.            1", since the compiler catches that.  But an easy way
  1130.            to do the same thing is:
  1131.  
  1132.                sub mod { $_[0] = 1 }
  1133.                mod(2);
  1134.  
  1135.            Another way is to assign to a substr() that's off the
  1136.            end of the string.
  1137.  
  1138.        Modification of non-creatable array value attempted,
  1139.            subscript %d
  1140.            (F) You tried to make an array value spring into
  1141.            existence, and the subscript was probably negative,
  1142.            even counting from end of the array backwards.
  1143.  
  1144.        Modification of non-creatable hash value attempted,
  1145.            subscript "%s"
  1146.            (F) You tried to make a hash value spring into
  1147.            existence, and it couldn't be created for some
  1148.            peculiar reason.
  1149.  
  1150.        Module name must be constant
  1151.            (F) Only a bare module name is allowed as the first
  1152.            argument to a "use".
  1153.  
  1154.        msg%s not implemented
  1155.            (F) You don't have System V message IPC on your
  1156.            system.
  1157.  
  1158.        Multidimensional syntax %s not supported
  1159.            (W) Multidimensional arrays aren't written like
  1160.            $foo[1,2,3].  They're written like $foo[1][2][3], as
  1161.            in C.
  1162.  
  1163.        Negative length
  1164.            (F) You tried to do a read/write/send/recv operation
  1165.            with a buffer length that is less than 0.  This is
  1166.            difficult to imagine.
  1167.  
  1168.        nested *?+ in regexp
  1169.            (F) You can't quantify a quantifier without
  1170.            intervening parens.  So things like ** or +* or ?* are
  1171.            illegal.
  1172.  
  1173.            Note, however, that the minimal matching quantifiers,
  1174.            *?, +? and ?? appear to be nested quantifiers, but
  1175.            aren't.  See the perlre manpage.
  1176.  
  1177.        No #! line
  1178.            (F) The setuid emulator requires that scripts have a
  1179.            well-formed #! line even on machines that don't
  1180.            support the #! construct.
  1181.  
  1182.        No %s allowed while running setuid
  1183.            (F) Certain operations are deemed to be too insecure
  1184.            for a setuid or setgid script to even be allowed to
  1185.            attempt.  Generally speaking there will be another way
  1186.            to do what you want that is, if not secure, at least
  1187.            securable.  See the perlsec manpage.
  1188.  
  1189.        No -e allowed in setuid scripts
  1190.            (F) A setuid script can't be specified by the user.
  1191.  
  1192.        No comma allowed after %s
  1193.            (F) A list operator that has a filehandle or "indirect
  1194.            object" is not allowed to have a comma between that
  1195.            and the following arguments.  Otherwise it'd be just
  1196.            another one of the arguments.
  1197.  
  1198.        No command into which to pipe on command line
  1199.            (F) An error peculiar to VMS.  Perl handles its own
  1200.            command line redirection, and found a '|' at the end
  1201.            of the command line, so it doesn't know whither you
  1202.            want to pipe the output from this command.
  1203.  
  1204.        No DB::DB routine defined
  1205.            (F) The currently executing code was compiled with the
  1206.            -d switch, but for some reason the perl5db.pl file (or
  1207.            some facsimile thereof) didn't define a routine to be
  1208.            called at the beginning of each statement.  Which is
  1209.            odd, because the file should have been required
  1210.            automatically, and should have blown up the require if
  1211.            it didn't parse right.
  1212.  
  1213.        No dbm on this machine
  1214.            (P) This is counted as an internal error, because
  1215.            every machine should supply dbm nowadays, since Perl
  1216.            comes with SDBM.  See the SDBM_File manpage.
  1217.  
  1218.        No DBsub routine
  1219.            (F) The currently executing code was compiled with the
  1220.            -d switch, but for some reason the perl5db.pl file (or
  1221.            some facsimile thereof) didn't define a DB::sub
  1222.            routine to be called at the beginning of each ordinary
  1223.            subroutine call.
  1224.  
  1225.        No error file after 2> or 2>> on command line
  1226.            (F) An error peculiar to VMS.  Perl handles its own
  1227.            command line redirection, and found a '2>' or a '2>>'
  1228.            on the command line, but can't find the name of the
  1229.            file to which to write data destined for stderr.
  1230.  
  1231.        No input file after < on command line
  1232.            (F) An error peculiar to VMS.  Perl handles its own
  1233.            command line redirection, and found a '<' on the
  1234.            command line, but can't find the name of the file from
  1235.            which to read data for stdin.
  1236.  
  1237.        No output file after > on command line
  1238.            (F) An error peculiar to VMS.  Perl handles its own
  1239.            command line redirection, and found a lone '>' at the
  1240.            end of the command line, so it doesn't know whither
  1241.            you wanted to redirect stdout.
  1242.  
  1243.        No output file after > or >> on command line
  1244.            (F) An error peculiar to VMS.  Perl handles its own
  1245.            command line redirection, and found a '>' or a '>>' on
  1246.            the command line, but can't find the name of the file
  1247.            to which to write data destined for stdout.
  1248.  
  1249.        No Perl script found in input
  1250.            (F) You called perl -x, but no line was found in the
  1251.            file beginning with #! and containing the word "perl".
  1252.  
  1253.        No setregid available
  1254.            (F) Configure didn't find anything resembling the
  1255.            setregid() call for your system.
  1256.  
  1257.        No setreuid available
  1258.            (F) Configure didn't find anything resembling the
  1259.            setreuid() call for your system.
  1260.  
  1261.        No space allowed after -I
  1262.            (F) The argument to -I must follow the -I immediately
  1263.            with no intervening space.
  1264.  
  1265.        No such pipe open
  1266.            (P) An error peculiar to VMS.  The internal routine
  1267.            my_pclose() tried to close a pipe which hadn't been
  1268.            opened.  This should have been caught earlier as an
  1269.            attempt to close an unopened filehandle.
  1270.  
  1271.        No such signal: SIG%s
  1272.            (W) You specified a signal name as a subscript to %SIG
  1273.            that was not recognized.  Say kill -l in your shell to
  1274.            see the valid signal names on your system.
  1275.  
  1276.        Not a CODE reference
  1277.            (F) Perl was trying to evaluate a reference to a code
  1278.            value (that is, a subroutine), but found a reference
  1279.            to something else instead.  You can use the ref()
  1280.            function to find out what kind of ref it really was.
  1281.            See also the perlref manpage.
  1282.  
  1283.        Not a format reference
  1284.            (F) I'm not sure how you managed to generate a
  1285.            reference to an anonymous format, but this indicates
  1286.            you did, and that it didn't exist.
  1287.  
  1288.        Not a GLOB reference
  1289.            (F) Perl was trying to evaluate a reference to a "type
  1290.            glob" (that is, a symbol table entry that looks like
  1291.            *foo), but found a reference to something else
  1292.            instead.  You can use the ref() function to find out
  1293.            what kind of ref it really was.  See the perlref
  1294.            manpage.
  1295.  
  1296.        Not a HASH reference
  1297.            (F) Perl was trying to evaluate a reference to a hash
  1298.            value, but found a reference to something else
  1299.            instead.  You can use the ref() function to find out
  1300.            what kind of ref it really was.  See the perlref
  1301.            manpage.
  1302.  
  1303.        Not a perl script
  1304.            (F) The setuid emulator requires that scripts have a
  1305.            well-formed #! line even on machines that don't
  1306.            support the #! construct.  The line must mention perl.
  1307.  
  1308.        Not a SCALAR reference
  1309.            (F) Perl was trying to evaluate a reference to a
  1310.            scalar value, but found a reference to something else
  1311.            instead.  You can use the ref() function to find out
  1312.            what kind of ref it really was.  See the perlref
  1313.            manpage.
  1314.  
  1315.        Not a subroutine reference
  1316.            (F) Perl was trying to evaluate a reference to a code
  1317.            value (that is, a subroutine), but found a reference
  1318.            to something else instead.  You can use the ref()
  1319.            function to find out what kind of ref it really was.
  1320.            See also the perlref manpage.
  1321.  
  1322.        Not a subroutine reference in %OVERLOAD
  1323.            (F) An attempt was made to specify an entry in an
  1324.            overloading table that doesn't somehow point to a
  1325.            valid subroutine.  See the perlovl manpage.
  1326.  
  1327.        Not an ARRAY reference
  1328.            (F) Perl was trying to evaluate a reference to an
  1329.            array value, but found a reference to something else
  1330.            instead.  You can use the ref() function to find out
  1331.            what kind of ref it really was.  See the perlref
  1332.            manpage.
  1333.  
  1334.        Not enough arguments for %s
  1335.            (F) The function requires more arguments than you
  1336.            specified.
  1337.  
  1338.        Not enough format arguments
  1339.            (W) A format specified more picture fields than the
  1340.            next line supplied.  See the perlform manpage.
  1341.  
  1342.        Null filename used
  1343.            (F) You can't require the null filename, especially
  1344.            since on many machines that means the current
  1345.            directory!  See the require entry in the perlfunc
  1346.            manpage.
  1347.  
  1348.        NULL OP IN RUN
  1349.            (P) Some internal routine called run() with a null
  1350.            opcode pointer.
  1351.  
  1352.        Null realloc
  1353.            (P) An attempt was made to realloc NULL.
  1354.  
  1355.        NULL regexp argument
  1356.            (P) The internal pattern matching routines blew it
  1357.            bigtime.
  1358.  
  1359.        NULL regexp parameter
  1360.            (P) The internal pattern matching routines are out of
  1361.            their gourd.
  1362.  
  1363.        Odd number of elements in hash list
  1364.            (S) You specified an odd number of elements to a hash
  1365.            list, which is odd, since hash lists come in key/value
  1366.            pairs.
  1367.  
  1368.        oops: oopsAV
  1369.            (S) An internal warning that the grammar is screwed
  1370.            up.
  1371.  
  1372.        oops: oopsHV
  1373.            (S) An internal warning that the grammar is screwed
  1374.            up.
  1375.  
  1376.        Operation `%s' %s: no method found,
  1377.            (F) An attempt was made to use an entry in an
  1378.            overloading table that somehow no longer points to a
  1379.            valid method.  See the perlovl manpage.
  1380.  
  1381.        Operator or semicolon missing before %s
  1382.            (S) You used a variable or subroutine call where the
  1383.            parser was expecting an operator.  The parser has
  1384.            assumed you really meant to use an operator, but this
  1385.            is highly likely to be incorrect.  For example, if you
  1386.            say "*foo *foo" it will be interpreted as if you said
  1387.            "*foo * 'foo'".
  1388.  
  1389.        Out of memory for yacc stack
  1390.            (F) The yacc parser wanted to grow its stack so it
  1391.            could continue parsing, but realloc() wouldn't give it
  1392.            more memory, virtual or otherwise.
  1393.  
  1394.        Out of memory!
  1395.            (X) The malloc() function returned 0, indicating there
  1396.            was insufficient remaining memory (or virtual memory)
  1397.            to satisfy the request.
  1398.  
  1399.        page overflow
  1400.            (W) A single call to write() produced more lines than
  1401.            can fit on a page.  See the perlform manpage.
  1402.  
  1403.        panic: ck_grep
  1404.            (P) Failed an internal consistency check trying to
  1405.            compile a grep.
  1406.  
  1407.        panic: ck_split
  1408.            (P) Failed an internal consistency check trying to
  1409.            compile a split.
  1410.  
  1411.        panic: corrupt saved stack index
  1412.            (P) The savestack was requested to restore more
  1413.            localized values than there are in the savestack.
  1414.  
  1415.        panic: die %s
  1416.            (P) We popped the context stack to an eval context,
  1417.            and then discovered it wasn't an eval context.
  1418.  
  1419.        panic: do_match
  1420.            (P) The internal pp_match() routine was called with
  1421.            invalid operational data.
  1422.  
  1423.        panic: do_split
  1424.            (P) Something terrible went wrong in setting up for
  1425.            the split.
  1426.  
  1427.        panic: do_subst
  1428.            (P) The internal pp_subst() routine was called with
  1429.            invalid operational data.
  1430.  
  1431.        panic: do_trans
  1432.            (P) The internal do_trans() routine was called with
  1433.            invalid operational data.
  1434.  
  1435.        panic: goto
  1436.            (P) We popped the context stack to a context with the
  1437.            specified label, and then discovered it wasn't a
  1438.            context we know how to do a goto in.
  1439.  
  1440.        panic: INTERPCASEMOD
  1441.            (P) The lexer got into a bad state at a case modifier.
  1442.  
  1443.        panic: INTERPCONCAT
  1444.            (P) The lexer got into a bad state parsing a string
  1445.            with brackets.
  1446.  
  1447.        panic: last
  1448.            (P) We popped the context stack to a block context,
  1449.            and then discovered it wasn't a block context.
  1450.        panic: leave_scope clearsv
  1451.            (P) A writable lexical variable became readonly
  1452.            somehow within the scope.
  1453.  
  1454.        panic: leave_scope inconsistency
  1455.            (P) The savestack probably got out of sync.  At least,
  1456.            there was an invalid enum on the top of it.
  1457.  
  1458.        panic: malloc
  1459.            (P) Something requested a negative number of bytes of
  1460.            malloc.
  1461.  
  1462.        panic: mapstart
  1463.            (P) The compiler is screwed up with respect to the
  1464.            map() function.
  1465.  
  1466.        panic: null array
  1467.            (P) One of the internal array routines was passed a
  1468.            null AV pointer.
  1469.  
  1470.        panic: pad_alloc
  1471.            (P) The compiler got confused about which scratch pad
  1472.            it was allocating and freeing temporaries and lexicals
  1473.            from.
  1474.  
  1475.        panic: pad_free curpad
  1476.            (P) The compiler got confused about which scratch pad
  1477.            it was allocating and freeing temporaries and lexicals
  1478.            from.
  1479.  
  1480.        panic: pad_free po
  1481.            (P) An invalid scratch pad offset was detected
  1482.            internally.
  1483.  
  1484.        panic: pad_reset curpad
  1485.            (P) The compiler got confused about which scratch pad
  1486.            it was allocating and freeing temporaries and lexicals
  1487.            from.
  1488.  
  1489.        panic: pad_sv po
  1490.            (P) An invalid scratch pad offset was detected
  1491.            internally.
  1492.  
  1493.        panic: pad_swipe curpad
  1494.            (P) The compiler got confused about which scratch pad
  1495.            it was allocating and freeing temporaries and lexicals
  1496.            from.
  1497.  
  1498.        panic: pad_swipe po
  1499.            (P) An invalid scratch pad offset was detected
  1500.            internally.
  1501.  
  1502.        panic: pp_iter
  1503.            (P) The foreach iterator got called in a non-loop
  1504.            context frame.
  1505.  
  1506.        panic: realloc
  1507.            (P) Something requested a negative number of bytes of
  1508.            realloc.
  1509.  
  1510.        panic: restartop
  1511.            (P) Some internal routine requested a goto (or
  1512.            something like it), and didn't supply the destination.
  1513.  
  1514.        panic: return
  1515.            (P) We popped the context stack to a subroutine or
  1516.            eval context, and then discovered it wasn't a
  1517.            subroutine or eval context.
  1518.  
  1519.        panic: scan_num
  1520.            (P) scan_num() got called on something that wasn't a
  1521.            number.
  1522.  
  1523.        panic: sv_insert
  1524.            (P) The sv_insert() routine was told to remove more
  1525.            string than there was string.
  1526.  
  1527.        panic: top_env
  1528.            (P) The compiler attempted to do a goto, or something
  1529.            weird like that.
  1530.  
  1531.        panic: yylex
  1532.            (P) The lexer got into a bad state while processing a
  1533.            case modifier.
  1534.  
  1535.        Parens missing around "%s" list
  1536.            (W) You said something like
  1537.  
  1538.                my $foo, $bar = @_;
  1539.  
  1540.            when you meant
  1541.  
  1542.                my ($foo, $bar) = @_;
  1543.  
  1544.            Remember that "my" and "local" bind closer than comma.
  1545.  
  1546.        Perl %3.3f required--this is only version %s, stopped
  1547.            (F) The module in question uses features of a version
  1548.            of Perl more recent than the currently running
  1549.            version.  How long has it been since you upgraded,
  1550.            anyway?  See the require entry in the perlfunc
  1551.            manpage.
  1552.  
  1553.        Permission denied
  1554.            (F) The setuid emulator in suidperl decided you were
  1555.            up to no good.
  1556.  
  1557.        pid %d not a child
  1558.            (W) A warning peculiar to VMS.  Waitpid() was asked to
  1559.            wait for a process which isn't a subprocess of the
  1560.            current process.  While this is fine from VMS'
  1561.            perspective, it's probably not what you intended.
  1562.  
  1563.        POSIX getpgrp can't take an argument
  1564.            (F) Your C compiler uses POSIX getpgrp(), which takes
  1565.            no argument, unlike the BSD version, which takes a
  1566.            pid.
  1567.  
  1568.        Possible memory corruption: %s overflowed 3rd argument
  1569.            (F) An ioctl() or fcntl() returned more than Perl was
  1570.            bargaining for.  Perl guesses a reasonable buffer
  1571.            size, but puts a sentinel byte at the end of the
  1572.            buffer just in case.  This sentinel byte got
  1573.            clobbered, and Perl assumes that memory is now
  1574.            corrupted.  See the ioctl entry in the perlfunc
  1575.            manpage.
  1576.  
  1577.        Precedence problem: open %s should be open(%s)
  1578.            (S) The old irregular construct
  1579.  
  1580.                open FOO || die;
  1581.  
  1582.            is now misinterpreted as
  1583.  
  1584.                open(FOO || die);
  1585.  
  1586.            because of the strict regularization of Perl 5's
  1587.            grammar into unary and list operators.  (The old open
  1588.            was a little of both.) You must put parens around the
  1589.            filehandle, or use the new "or" operator instead of
  1590.            "||".
  1591.  
  1592.        print on closed filehandle %s
  1593.            (W) The filehandle you're printing on got itself
  1594.            closed sometime before now.  Check your logic flow.
  1595.  
  1596.        printf on closed filehandle %s
  1597.            (W) The filehandle you're writing to got itself closed
  1598.            sometime before now.  Check your logic flow.
  1599.  
  1600.        Probable precedence problem on %s
  1601.            (W) The compiler found a bare word where it expected a
  1602.            conditional, which often indicates that an || or &&
  1603.            was parsed as part of the last argument of the
  1604.            previous construct, for example:
  1605.  
  1606.                open FOO || die;
  1607.  
  1608.        Prototype mismatch: (%s) vs (%s)
  1609.            (S) The subroutine being defined had a predeclared
  1610.            (forward) declaration with a different function
  1611.            prototype.
  1612.  
  1613.        Read on closed filehandle <%s>
  1614.            (W) The filehandle you're reading from got itself
  1615.            closed sometime before now.  Check your logic flow.
  1616.  
  1617.        Reallocation too large: %lx
  1618.            (F) You can't allocate more than 64K on an MSDOS
  1619.            machine.
  1620.  
  1621.        Recompile perl with -DDEBUGGING to use -D switch
  1622.            (F) You can't use the -D option unless the code to
  1623.            produce the desired output is compiled into Perl,
  1624.            which entails some overhead, which is why it's
  1625.            currently left out of your copy.
  1626.  
  1627.        Recursive inheritance detected
  1628.            (F) More than 100 levels of inheritance were used.
  1629.            Probably indicates an unintended loop in your
  1630.            inheritance hierarchy.
  1631.  
  1632.        Reference miscount in sv_replace()
  1633.            (W) The internal sv_replace() function was handed a
  1634.            new SV with a reference count of other than 1.
  1635.  
  1636.        regexp memory corruption
  1637.            (P) The regular expression engine got confused by what
  1638.            the regular expression compiler gave it.
  1639.  
  1640.        regexp out of space
  1641.            (P) A "can't happen" error, because safemalloc()
  1642.            should have caught it earlier.
  1643.  
  1644.        regexp too big
  1645.            (F) The current implementation of regular expression
  1646.            uses shorts as address offsets within a string.
  1647.            Unfortunately this means that if the regular
  1648.            expression compiles to longer than 32767, it'll blow
  1649.            up.  Usually when you want a regular expression this
  1650.            big, there is a better way to do it with multiple
  1651.            statements.  See the perlre manpage.
  1652.  
  1653.        Reversed %s= operator
  1654.            (W) You wrote your assignment operator backwards.  The
  1655.            = must always comes last, to avoid ambiguity with
  1656.            subsequent unary operators.
  1657.  
  1658.        Runaway format
  1659.            (F) Your format contained the ~~ repeat-until-blank
  1660.            sequence, but it produced 200 lines at once, and the
  1661.            200th line looked exactly like the 199th line.
  1662.            Apparently you didn't arrange for the arguments to
  1663.            exhaust themselves, either by using ^ instead of @
  1664.            (for scalar variables), or by shifting or popping (for
  1665.            array variables).  See the perlform manpage.
  1666.  
  1667.        Scalar value @%s[%s] better written as $%s[%s]
  1668.            (W) You've used an array slice (indicated by @) to
  1669.            select a single value of an array.  Generally it's
  1670.            better to ask for a scalar value (indicated by $).
  1671.            The difference is that $foo[&bar] always behaves like
  1672.            a scalar, both when assigning to it and when
  1673.            evaluating its argument, while @foo[&bar] behaves like
  1674.            a list when you assign to it, and provides a list
  1675.            context to its subscript, which can do weird things if
  1676.            you're only expecting one subscript.
  1677.  
  1678.            On the other hand, if you were actually hoping to
  1679.            treat the array element as a list, you need to look
  1680.            into how references work, since Perl will not
  1681.            magically convert between scalars and lists for you.
  1682.            See the perlref manpage.
  1683.  
  1684.        Script is not setuid/setgid in suidperl
  1685.            (F) Oddly, the suidperl program was invoked on a
  1686.            script with its setuid or setgid bit set.  This
  1687.            doesn't make much sense.
  1688.  
  1689.        Search pattern not terminated
  1690.            (F) The lexer couldn't find the final delimiter of a
  1691.            // or m{} construct.  Remember that bracketing
  1692.            delimiters count nesting level.
  1693.  
  1694.        seek() on unopened file
  1695.            (W) You tried to use the seek() function on a
  1696.            filehandle that was either never opened or has been
  1697.            closed since.
  1698.  
  1699.        select not implemented
  1700.            (F) This machine doesn't implement the select() system
  1701.            call.
  1702.  
  1703.        sem%s not implemented
  1704.            (F) You don't have System V semaphore IPC on your
  1705.            system.
  1706.  
  1707.        semi-panic: attempt to dup freed string
  1708.            (S) The internal newSVsv() routine was called to
  1709.            duplicate a scalar that had previously been marked as
  1710.            free.
  1711.  
  1712.        Semicolon seems to be missing
  1713.            (W) A nearby syntax error was probably caused by a
  1714.            missing semicolon, or possibly some other missing
  1715.            operator, such as a comma.
  1716.  
  1717.        Send on closed socket
  1718.            (W) The filehandle you're sending to got itself closed
  1719.            sometime before now.  Check your logic flow.
  1720.  
  1721.        Sequence (?#... not terminated
  1722.            (F) A regular expression comment must be terminated by
  1723.            a closing parenthesis.  Embedded parens aren't
  1724.            allowed.  See the perlre manpage.
  1725.  
  1726.        Sequence (?%s...) not implemented
  1727.            (F) A proposed regular expression extension has the
  1728.            character reserved but has not yet been written.  See
  1729.            the perlre manpage.
  1730.  
  1731.        Sequence (?%s...) not recognized
  1732.            (F) You used a regular expression extension that
  1733.            doesn't make sense.  See the perlre manpage.
  1734.  
  1735.        Server error
  1736.            Also known as "500 Server error".  This is a CGI
  1737.            error, not a Perl error.  You need to make sure your
  1738.            script is executable, is accessible by the user CGI is
  1739.            running the script under (which is probably not the
  1740.            user account you tested it under), does not rely on
  1741.            any environment variables (like PATH) from the user it
  1742.            isn't running under, and isn't in a location where the
  1743.            CGI server can't find it, basically, more or less.
  1744.  
  1745.        setegid() not implemented
  1746.            (F) You tried to assign to $), and your operating
  1747.            system doesn't support the setegid() system call (or
  1748.            equivalent), or at least Configure didn't think so.
  1749.  
  1750.        seteuid() not implemented
  1751.            (F) You tried to assign to $>, and your operating
  1752.            system doesn't support the seteuid() system call (or
  1753.            equivalent), or at least Configure didn't think so.
  1754.  
  1755.        setrgid() not implemented
  1756.            (F) You tried to assign to $(, and your operating
  1757.            system doesn't support the setrgid() system call (or
  1758.            equivalent), or at least Configure didn't think so.
  1759.  
  1760.        setruid() not implemented
  1761.            (F) You tried to assign to $<, and your operating
  1762.            system doesn't support the setruid() system call (or
  1763.            equivalent), or at least Configure didn't think so.
  1764.  
  1765.        Setuid/gid script is writable by world
  1766.            (F) The setuid emulator won't run a script that is
  1767.            writable by the world, because the world might have
  1768.            written on it already.
  1769.  
  1770.        shm%s not implemented
  1771.            (F) You don't have System V shared memory IPC on your
  1772.            system.
  1773.  
  1774.        shutdown() on closed fd
  1775.            (W) You tried to do a shutdown on a closed socket.
  1776.            Seems a bit superfluous.
  1777.  
  1778.        SIG%s handler "%s" not defined.
  1779.            (W) The signal handler named in %SIG doesn't, in fact,
  1780.            exist.  Perhaps you put it into the wrong package?
  1781.  
  1782.        sort is now a reserved word
  1783.            (F) An ancient error message that almost nobody ever
  1784.            runs into anymore.  But before sort was a keyword,
  1785.            people sometimes used it as a filehandle.
  1786.  
  1787.        Sort subroutine didn't return a numeric value
  1788.            (F) A sort comparison routine must return a number.
  1789.            You probably blew it by not using <=> or cmp, or by
  1790.            not using them correctly.  See the sort entry in the
  1791.            perlfunc manpage.
  1792.  
  1793.        Sort subroutine didn't return single value
  1794.            (F) A sort comparison subroutine may not return a list
  1795.            value with more or less than one element.  See the
  1796.            sort entry in the perlfunc manpage.
  1797.  
  1798.        Split loop
  1799.            (P) The split was looping infinitely.  (Obviously, a
  1800.            split shouldn't iterate more times than there are
  1801.            characters of input, which is what happened.)  See the
  1802.            split entry in the perlfunc manpage.
  1803.  
  1804.        Stat on unopened file <%s>
  1805.            (W) You tried to use the stat() function (or an
  1806.            equivalent file test) on a filehandle that was either
  1807.            never opened or has been closed since.
  1808.  
  1809.        Statement unlikely to be reached
  1810.            (W) You did an exec() with some statement after it
  1811.            other than a die().  This is almost always an error,
  1812.            because exec() never returns unless there was a
  1813.            failure.  You probably wanted to use system() instead,
  1814.            which does return.  To suppress this warning, put the
  1815.            exec() in a block by itself.
  1816.  
  1817.        Subroutine %s redefined
  1818.            (W) You redefined a subroutine.  To suppress this
  1819.            warning, say
  1820.  
  1821.                {
  1822.                    local $^W = 0;
  1823.                    eval "sub name { ... }";
  1824.                }
  1825.  
  1826.        Substitution loop
  1827.            (P) The substitution was looping infinitely.
  1828.            (Obviously, a substitution shouldn't iterate more
  1829.            times than there are characters of input, which is
  1830.            what happened.) See the discussion of substitution in
  1831.            the section on Quote and Quotelike Operators in the
  1832.            perlop manpage.
  1833.  
  1834.        Substitution pattern not terminated
  1835.            (F) The lexer couldn't find the interior delimiter of
  1836.            a s/// or s{}{} construct.  Remember that bracketing
  1837.            delimiters count nesting level.
  1838.  
  1839.        Substitution replacement not terminated
  1840.            (F) The lexer couldn't find the final delimiter of a
  1841.            s/// or s{}{} construct.  Remember that bracketing
  1842.            delimiters count nesting level.
  1843.  
  1844.        substr outside of string
  1845.            (W) You tried to reference a substr() that pointed
  1846.            outside of a string.  That is, the absolute value of
  1847.            the offset was larger than the length of the string.
  1848.            See the substr entry in the perlfunc manpage.
  1849.  
  1850.        suidperl is no longer needed since...
  1851.            (F) Your Perl was compiled with
  1852.            -DSETUID_SCRIPTS_ARE_SECURE_NOW, but a version of the
  1853.            setuid emulator somehow got run anyway.
  1854.  
  1855.        syntax error
  1856.            (F) Probably means you had a syntax error.  Common
  1857.            reasons include:
  1858.  
  1859.                A keyword is misspelled.
  1860.                A semicolon is missing.
  1861.                A comma is missing.
  1862.                An opening or closing parenthesis is missing.
  1863.                An opening or closing brace is missing.
  1864.                A closing quote is missing.
  1865.  
  1866.            Often there will be another error message associated
  1867.            with the syntax error giving more information.
  1868.            (Sometimes it helps to turn on -w.)  The error message
  1869.            itself often tells you where it was in the line when
  1870.            it decided to give up.  Sometimes the actual error is
  1871.            several tokens before this, since Perl is good at
  1872.            understanding random input.  Occasionally the line
  1873.            number may be misleading, and once in a blue moon the
  1874.            only way to figure out what's triggering the error is
  1875.            to call perl -c repeatedly, chopping away half the
  1876.            program each time to see if the error went away.  Sort
  1877.            of the cybernetic version of 20 questions.
  1878.  
  1879.        syntax error at line %d: `%s' unexpected
  1880.            (A) You've accidentally run your script through the
  1881.            Bourne shell instead of Perl.  Check the <#!> line, or
  1882.            manually feed your script into Perl yourself.
  1883.  
  1884.        System V IPC is not implemented on this machine
  1885.            (F) You tried to do something with a function
  1886.            beginning with "sem", "shm" or "msg".  See the semctl
  1887.            entry in the perlfunc manpage, for example.
  1888.  
  1889.        Syswrite on closed filehandle
  1890.            (W) The filehandle you're writing to got itself closed
  1891.            sometime before now.  Check your logic flow.
  1892.  
  1893.        tell() on unopened file
  1894.            (W) You tried to use the tell() function on a
  1895.            filehandle that was either never opened or has been
  1896.            closed since.
  1897.  
  1898.        Test on unopened file <%s>
  1899.            (W) You tried to invoke a file test operator on a
  1900.            filehandle that isn't open.  Check your logic.  See
  1901.            also the section on -X in the perlfunc manpage.
  1902.  
  1903.        That use of $[ is unsupported
  1904.            (F) Assignment to $[ is now strictly circumscribed,
  1905.            and interpreted as a compiler directive.  You may only
  1906.            say one of
  1907.  
  1908.                $[ = 0;
  1909.                $[ = 1;
  1910.                ...
  1911.                local $[ = 0;
  1912.                local $[ = 1;
  1913.                ...
  1914.  
  1915.            This is to prevent the problem of one module changing
  1916.            the array base out from under another module
  1917.            inadvertently.  See the section on $[ in the perlvar
  1918.            manpage.
  1919.  
  1920.        The %s function is unimplemented
  1921.            The function indicated isn't implemented on this
  1922.            architecture, according to the probings of Configure.
  1923.  
  1924.        The crypt() function is unimplemented due to excessive
  1925.            paranoia.
  1926.            (F) Configure couldn't find the crypt() function on
  1927.            your machine, probably because your vendor didn't
  1928.            supply it, probably because they think the U.S.
  1929.            Govermnment thinks it's a secret, or at least that
  1930.            they will continue to pretend that it is.  And if you
  1931.            quote me on that, I will deny it.
  1932.  
  1933.        The stat preceding -l _ wasn't an lstat
  1934.            (F) It makes no sense to test the current stat buffer
  1935.            for symbolic linkhood if the last stat that wrote to
  1936.            the stat buffer already went past the symlink to get
  1937.            to the real file.  Use an actual filename instead.
  1938.  
  1939.        times not implemented
  1940.            (F) Your version of the C library apparently doesn't
  1941.            do times().  I suspect you're not running on Unix.
  1942.  
  1943.        Too few args to syscall
  1944.            (F) There has to be at least one argument to syscall()
  1945.            to specify the system call to call, silly dilly.
  1946.  
  1947.        Too many ('s
  1948.  
  1949.        Too many )'s
  1950.            (A) You've accidentally run your script through csh
  1951.            instead of Perl.  Check the <#!> line, or manually
  1952.            feed your script into Perl yourself.
  1953.  
  1954.        Too many args to syscall
  1955.            (F) Perl only supports a maximum of 14 args to
  1956.            syscall().
  1957.  
  1958.        Too many arguments for %s
  1959.            (F) The function requires fewer arguments than you
  1960.            specified.
  1961.  
  1962.        trailing \ in regexp
  1963.            (F) The regular expression ends with an unbackslashed
  1964.            backslash.  Backslash it.   See the perlre manpage.
  1965.  
  1966.        Translation pattern not terminated
  1967.            (F) The lexer couldn't find the interior delimiter of
  1968.            a tr/// or tr[][] construct.
  1969.  
  1970.        Translation replacement not terminated
  1971.            (F) The lexer couldn't find the final delimiter of a
  1972.            tr/// or tr[][] construct.
  1973.  
  1974.        truncate not implemented
  1975.            (F) Your machine doesn't implement a file truncation
  1976.            mechanism that Configure knows about.
  1977.  
  1978.        Type of arg %d to %s must be %s (not %s)
  1979.            (F) This function requires the argument in that
  1980.            position to be of a certain type.  Arrays must be
  1981.            @NAME or @{EXPR}.  Hashes must be %NAME or %{EXPR}.
  1982.            No implicit dereferencing is allowed--use the {EXPR}
  1983.            forms as an explicit dereference.  See the perlref
  1984.            manpage.
  1985.  
  1986.        umask: argument is missing initial 0
  1987.            (W) A umask of 222 is incorrect.  It should be 0222,
  1988.            since octal literals always start with 0 in Perl, as
  1989.            in C.
  1990.  
  1991.        Unable to create sub named "%s"
  1992.            (F) You attempted to create or access a subroutine
  1993.            with an illegal name.
  1994.  
  1995.        Unbalanced context: %d more PUSHes than POPs
  1996.            (W) The exit code detected an internal inconsistency
  1997.            in how many execution contexts were entered and left.
  1998.  
  1999.        Unbalanced saves: %d more saves than restores
  2000.            (W) The exit code detected an internal inconsistency
  2001.            in how many values were temporarily localized.
  2002.  
  2003.        Unbalanced scopes: %d more ENTERs than LEAVEs
  2004.            (W) The exit code detected an internal inconsistency
  2005.            in how many blocks were entered and left.
  2006.  
  2007.        Unbalanced tmps: %d more allocs than frees
  2008.            (W) The exit code detected an internal inconsistency
  2009.            in how many mortal scalars were allocated and freed.
  2010.  
  2011.        Undefined format "%s" called
  2012.            (F) The format indicated doesn't seem to exist.
  2013.            Perhaps it's really in another package?  See the
  2014.            perlform manpage.
  2015.  
  2016.        Undefined sort subroutine "%s" called
  2017.            (F) The sort comparison routine specified doesn't seem
  2018.            to exist.  Perhaps it's in a different package?  See
  2019.            the sort entry in the perlfunc manpage.
  2020.  
  2021.        Undefined subroutine &%s called
  2022.            (F) The subroutine indicated hasn't been defined, or
  2023.            if it was, it has since been undefined.
  2024.  
  2025.        Undefined subroutine called
  2026.            (F) The anonymous subroutine you're trying to call
  2027.            hasn't been defined, or if it was, it has since been
  2028.            undefined.
  2029.  
  2030.        Undefined subroutine in sort
  2031.            (F) The sort comparison routine specified is declared
  2032.            but doesn't seem to have been defined yet.  See the
  2033.            sort entry in the perlfunc manpage.
  2034.  
  2035.        Undefined top format "%s" called
  2036.            (F) The format indicated doesn't seem to exist.
  2037.            Perhaps it's really in another package?  See the
  2038.            perlform manpage.
  2039.  
  2040.        unexec of %s into %s failed!
  2041.            (F) The unexec() routine failed for some reason.  See
  2042.            your local FSF representative, who probably put it
  2043.            there in the first place.
  2044.  
  2045.        Unknown BYTEORDER
  2046.            (F) There are no byteswapping functions for a machine
  2047.            with this byte order.
  2048.  
  2049.        unmatched () in regexp
  2050.            (F) Unbackslashed parentheses must always be balanced
  2051.            in regular expressions.  If you're a vi user, the %
  2052.            key is valuable for finding the matching paren.  See
  2053.            the perlre manpage.
  2054.  
  2055.        Unmatched right bracket
  2056.            (F) The lexer counted more closing curly brackets
  2057.            (braces) than opening ones, so you're probably missing
  2058.            an opening bracket.  As a general rule, you'll find
  2059.            the missing one (so to speak) near the place you were
  2060.            last editing.
  2061.  
  2062.        unmatched [] in regexp
  2063.            (F) The brackets around a character class must match.
  2064.            If you wish to include a closing bracket in a
  2065.            character class, backslash it or put it first.  See
  2066.            the perlre manpage.
  2067.  
  2068.        Unquoted string "%s" may clash with future reserved word
  2069.            (W) You used a bare word that might someday be claimed
  2070.            as a reserved word.  It's best to put such a word in
  2071.            quotes, or capitalize it somehow, or insert an
  2072.            underbar into it.  You might also declare it as a
  2073.            subroutine.
  2074.  
  2075.        Unrecognized character \%03o ignored
  2076.            (S) A garbage character was found in the input, and
  2077.            ignored, in case it's a weird control character on an
  2078.            EBCDIC machine, or some such.
  2079.  
  2080.        Unrecognized signal name "%s"
  2081.            (F) You specified a signal name to the kill() function
  2082.            that was not recognized.  Say kill -l in your shell to
  2083.            see the valid signal names on your system.
  2084.  
  2085.        Unrecognized switch: -%s
  2086.            (F) You specified an illegal option to Perl.  Don't do
  2087.            that.  (If you think you didn't do that, check the #!
  2088.            line to see if it's supplying the bad switch on your
  2089.            behalf.)
  2090.  
  2091.        Unsuccessful %s on filename containing newline
  2092.            (W) A file operation was attempted on a filename, and
  2093.            that operation failed, PROBABLY because the filename
  2094.            contained a newline, PROBABLY because you forgot to
  2095.            chop() or chomp() it off.  See the chop entry in the
  2096.            perlfunc manpage.
  2097.  
  2098.        Unsupported directory function "%s" called
  2099.            (F) Your machine doesn't support opendir() and
  2100.            readdir().
  2101.  
  2102.        Unsupported function %s
  2103.            (F) This machines doesn't implement the indicated
  2104.            function, apparently.  At least, Configure doesn't
  2105.            think so.
  2106.  
  2107.        Unsupported socket function "%s" called
  2108.            (F) Your machine doesn't support the Berkeley socket
  2109.            mechanism, or at least that's what Configure thought.
  2110.  
  2111.        Unterminated <> operator
  2112.            (F) The lexer saw a left angle bracket in a place
  2113.            where it was expecting a term, so it's looking for the
  2114.            corresponding right angle bracket, and not finding it.
  2115.            Chances are you left some needed parentheses out
  2116.            earlier in the line, and you really meant a "less
  2117.            than".
  2118.  
  2119.        Use of $# is deprecated
  2120.            (D) This was an ill-advised attempt to emulate a
  2121.            poorly defined awk feature.  Use an explicit printf()
  2122.            or sprintf() instead.
  2123.  
  2124.        Use of $* is deprecated
  2125.            (D) This variable magically turned on multiline
  2126.            pattern matching, both for you and for any luckless
  2127.            subroutine that you happen to call.  You should use
  2128.            the new //m and //s modifiers now to do that without
  2129.            the dangerous action-at-a-distance effects of $*.
  2130.  
  2131.        Use of %s in printf format not supported
  2132.            (F) You attempted to use a feature of printf that is
  2133.            accessible only from C.  This usually means there's a
  2134.            better way to do it in Perl.
  2135.  
  2136.        Use of %s is deprecated
  2137.            (D) The construct indicated is no longer recommended
  2138.            for use, generally because there's a better way to do
  2139.            it, and also because the old way has bad side effects.
  2140.  
  2141.        Use of bare << to mean <<"" is deprecated
  2142.            (D) You are now encouraged to use the explicitly
  2143.            quoted form if you wish to use a blank line as the
  2144.            terminator of the here-document.
  2145.  
  2146.        Use of implicit split to @_ is deprecated
  2147.            (D) It makes a lot of work for the compiler when you
  2148.            clobber a subroutine's argument list, so it's better
  2149.            if you assign the results of a split() explicitly to
  2150.            an array (or list).
  2151.  
  2152.        Use of uninitialized value
  2153.            (W) An undefined value was used as if it were already
  2154.            defined.  It was interpreted as a "" or a 0, but maybe
  2155.            it was a mistake.  To suppress this warning assign an
  2156.            initial value to your variables.
  2157.  
  2158.        Useless use of %s in void context
  2159.            (W) You did something without a side effect in a
  2160.            context that does nothing with the return value, such
  2161.            as a statement that doesn't return a value from a
  2162.            block, or the left side of a scalar comma operator.
  2163.            Very often this points not to stupidity on your part,
  2164.            but a failure of Perl to parse your program the way
  2165.            you thought it would.  For example, you'd get this if
  2166.            you mixed up your C precedence with Python precedence
  2167.            and said
  2168.  
  2169.                $one, $two = 1, 2;
  2170.  
  2171.            when you meant to say
  2172.  
  2173.                ($one, $two) = (1, 2);
  2174.  
  2175.            Another common error is to use ordinary parentheses to
  2176.            construct a list reference when you should be using
  2177.            square or curly brackets, for example, if you say
  2178.  
  2179.                $array = (1,2);
  2180.  
  2181.            when you should have said
  2182.  
  2183.                $array = [1,2];
  2184.  
  2185.            The square brackets explicitly turn a list value into
  2186.            a scalar value, while parentheses do not.  So when a
  2187.            parenthesized list is evaluated in a scalar context,
  2188.            the comma is treated like C's comma operator, which
  2189.            throws away the left argument, which is not what you
  2190.            want.  See the perlref manpage for more on this.
  2191.  
  2192.        Variable "%s" is not exported
  2193.            (F) While "use strict" in effect, you referred to a
  2194.            global variable that you apparently thought was
  2195.            imported from another module, because something else
  2196.            of the same name (usually a subroutine) is exported by
  2197.            that module.  It usually means you put the wrong funny
  2198.            character on the front of your variable.
  2199.  
  2200.        Variable syntax.
  2201.            (A) You've accidentally run your script through csh
  2202.            instead of Perl.  Check the <#!> line, or manually
  2203.            feed your script into Perl yourself.
  2204.  
  2205.        Warning: unable to close filehandle %s properly.
  2206.            (S) The implicit close() done by an open() got an
  2207.            error indication on the close(0.  This usually
  2208.            indicates your filesystem ran out of disk space.
  2209.  
  2210.        Warning: Use of "%s" without parens is ambiguous
  2211.            (S) You wrote a unary operator followed by something
  2212.            that looks like a binary operator that could also have
  2213.            been interpreted as a term or unary operator.  For
  2214.            instance, if you know that the rand function has a
  2215.            default argument of 1.0, and you write
  2216.  
  2217.                rand + 5;
  2218.  
  2219.            you may THINK you wrote the same thing as
  2220.  
  2221.                rand() + 5;
  2222.  
  2223.            but in actual fact, you got
  2224.  
  2225.                rand(+5);
  2226.  
  2227.            So put in parens to say what you really mean.
  2228.  
  2229.        Write on closed filehandle
  2230.            (W) The filehandle you're writing to got itself closed
  2231.            sometime before now.  Check your logic flow.
  2232.  
  2233.        X outside of string
  2234.            (F) You had a pack template that specified a relative
  2235.            position before the beginning of the string being
  2236.            unpacked.  See the pack entry in the perlfunc manpage.
  2237.  
  2238.        x outside of string
  2239.            (F) You had a pack template that specified a relative
  2240.            position after the end of the string being unpacked.
  2241.            See the pack entry in the perlfunc manpage.
  2242.  
  2243.        Xsub "%s" called in sort
  2244.            (F) The use of an external subroutine as a sort
  2245.            comparison is not yet supported.
  2246.  
  2247.        Xsub called in sort
  2248.            (F) The use of an external subroutine as a sort
  2249.            comparison is not yet supported.
  2250.  
  2251.        You can't use -l on a filehandle
  2252.            (F) A filehandle represents an opened file, and when
  2253.            you opened the file it already went past any symlink
  2254.            you are presumably trying to look for.  Use a filename
  2255.            instead.
  2256.  
  2257.        YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
  2258.            (F) And you probably never will, since you probably
  2259.            don't have the sources to your kernel, and your vendor
  2260.            probably doesn't give a rip about what you want.  Your
  2261.            best bet is to use the wrapsuid script in the eg
  2262.            directory to put a setuid C wrapper around your
  2263.            script.
  2264.  
  2265.        You need to quote "%s"
  2266.            (W) You assigned a bareword as a signal handler name.
  2267.            Unfortunately, you already have a subroutine of that
  2268.            name declared, which means that Perl 5 will try to
  2269.            call the subroutine when the assignment is executed,
  2270.            which is probably not what you want.  (If it IS what
  2271.            you want, put an & in front.)
  2272.  
  2273.        [gs]etsockopt() on closed fd
  2274.            (W) You tried to get or set a socket option on a
  2275.            closed socket.  Did you forget to check the return
  2276.            value of your socket() call?  See the getsockopt entry
  2277.            in the perlfunc manpage.
  2278.  
  2279.        \1 better written as $1
  2280.            (W) Outside of patterns, backreferences live on as
  2281.            variables.  The use of backslashes is grandfathered on
  2282.            the righthand side of a substitution, but
  2283.            stylistically it's better to use the variable form
  2284.            because other Perl programmers will expect it, and it
  2285.            works better if there are more than 9 backreferences.
  2286.  
  2287.        '|' and '<' may not both be specified on command line
  2288.            (F) An error peculiar to VMS.  Perl does its own
  2289.            command line redirection, and found that STDIN was a
  2290.            pipe, and that you also tried to redirect STDIN using
  2291.  
  2292.        '|' and '>' may not both be specified on command line
  2293.            (F) An error peculiar to VMS.  Perl does its own
  2294.            command line redirection, and thinks you tried to
  2295.            redirect stdout both to a file and into a pipe to
  2296.            another command.  You need to choose one or the other,
  2297.            though nothing's stopping you from piping into a
  2298.            program or Perl script which 'splits' output into two
  2299.            streams, such as
  2300.  
  2301.                open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
  2302.                while (<STDIN>) {
  2303.                    print;
  2304.                    print OUT;
  2305.                }
  2306.                close OUT;
  2307.